package com.kgis.fm.platform.model.metadata;

import com.kgis.kp.model.LifecycleModel;

/**
 * KGM_RELATIONSHIPMAPPING
 * 
 * @author zhxiaomiao
 * @version 1.0
 */
public class RelationshipMapping extends LifecycleModel {
	/**
	 *连接关系
	 */
	public static final int TYPE_NODEEDGE_CONNECTIVITY = 1;
	/**
	 * 子父关系
	 */
	public static final int TYPE_CHILID_PRAENT = 2;
	/**
	 * 父子关系
	 */
	public static final int TYPE_PRAENT_CHILID = 3;
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private int fno;
	/**
	 * 关系类型
	 */
	private int type;
	private int cno;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getFno() {
		return fno;
	}

	public void setFno(int fno) {
		this.fno = fno;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getCno() {
		return cno;
	}

	public void setCno(int cno) {
		this.cno = cno;
	}

}
